-
Home
-
Quantity Discounts, Breaks & Product Bundles for Woocommerce By Bundler
-
3.1.4
-
Code
-
Classes
- OfferController
| Total Complexity |
65 |
| Dependencies |
5 |
| Dependents |
4 |
| Total lines |
506 |
| Lines of code |
316 |
| Logical lines of code |
144 |
| Comment lines |
98 |
| Methods |
16 |
| Properties |
1 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| new_offer() |
B |
36 |
17 |
81 |
| update_offer() |
B |
36 |
16 |
77 |
| get_offer() |
S |
45 |
5 |
43 |
| delete_offers() |
S |
62 |
4 |
12 |
| get_custom_variant_discount() |
S |
65 |
4 |
9 |
| get_offer_products() |
S |
63 |
3 |
11 |
| get_the_offer() |
S |
57 |
2 |
18 |
| get_the_bundle() |
S |
57 |
2 |
18 |
| delete_offer() |
S |
61 |
2 |
13 |
| __construct() |
S |
71 |
2 |
6 |
| get_the_discounts() |
S |
67 |
2 |
8 |
| get_the_discounts_desc() |
S |
67 |
2 |
8 |
| get_all_offers() |
S |
81 |
1 |
3 |
| get_bundle_offers() |
S |
81 |
1 |
3 |
| get_discounts_by_offer_id() |
S |
80 |
1 |
3 |
| update_offer_status() |
S |
80 |
1 |
3 |